package net.scdx.hotel.service;

import net.scdx.hotel.dto.OrderExecution;
import net.scdx.hotel.dto.UserExecution;
import net.scdx.hotel.entity.Order;
import net.scdx.hotel.entity.User;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface OrderService {
    // add user
    //OrderExecution addOrder(Order order) throws Exception;

    List<Order> orderInfo(Integer userId) throws Exception;

    UserExecution addOrder(Order order) throws Exception;
    // modift user info
    //boolean midifyUser(User user) throws Exception;
    boolean modifyOrderstatus(Integer orderId) throws Exception;
}
